Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-61

Specificy the config file to use as a System property

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • logback-core
    • None
    • Operating System: All
      Platform: PC

    • 107

    Description

      I'd like to be able to specify the logger config file to use as a System property, something like:

      java -Dlogback.configuration=customConfig.xml

      This is a much cleaner way of controlling the config than by messing with the classpath.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            tgraham@concordenergy.com Ted Graham
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: